package com.otod.cd.doc.mapper;

import java.util.List;
import java.util.Map;

import com.otod.base.mapper.BaseMapper;
import com.otod.base.support.spring.mybatis.annotation.MyBatisRepository;
import com.otod.cd.doc.bo.CdDocShareBo;
import com.otod.cd.doc.vo.CdDocShareVo;

@MyBatisRepository
public interface  CdDocShareMapper extends BaseMapper<CdDocShareVo>{
	/**
	 * 查询我分享的数据
	 * @param map
	 * @return
	 */
	public List<CdDocShareBo> selectShareFolder(Map<String, Object> map);
	/***
	 * 通过 folderId查询数据
	 * @param folderId
	 * @return
	 */
	public CdDocShareVo selectFolderId(String folderId);
	/**
	 * 通过folder_id 修改分享方式
	 * @param map
	 */
	public void updateShareType(Map<String, Object> map);
	
}